package com.qr.bean.wmyw;

import java.math.BigDecimal;
import java.sql.Timestamp;
import com.baomidou.mybatisplus.annotation.Version;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/13 10:23:45
 * 分离出查询实体
 */
@ApiModel(value = "qr_order_takeout", description = "订单表")
@TableName(value = "qr_order_takeout")
public class QrOrderTakeoutView implements Serializable {
	@ApiModelProperty(value = "标识id")
	@TableId(type = IdType.AUTO,value = "order_id")
	@NotNull(message = "标识id不能为空")
	private Integer order_id;
	@ApiModelProperty(value = "运营中心id")
	@TableField(value="oc_id")
	private Integer oc_id;
	@ApiModelProperty(value = "店铺/门店id")
	@TableField(value="shop_id")
	private Integer shop_id;
	@ApiModelProperty(value = "用户id")
	@TableField(value="uid")
	private Integer uid;
	@ApiModelProperty(value = "商品数")
	@TableField(value="goods_num")
	private Integer goods_num;
	@ApiModelProperty(value = "订单号")
	@TableField(value="order_no")
	private String order_no;
	@ApiModelProperty(value = "订单当日编号")
	@TableField(value="no_order")
	private Integer no_order;
	@ApiModelProperty(value = "取货码")
	@TableField(value="order_pickno")
	private Integer order_pickno;
	@ApiModelProperty(value = "订单状态:待支付=1001 待接单=1002 已接单=1003 已出餐=1005 确认送出=1008 用户确认=1011 用户未支付取消=1012 用户已支付取消=1013 同意退款=1014 拒绝退款=1015 用户申诉=1016 平台处理完成=1017")
	@TableField(value="order_status")
	private Integer order_status;
	@ApiModelProperty(value = "寄件状态:骑手接单=1104 骑手到店=1106 骑手取餐=1107 骑手配送完成=1109 骑手配送异常=1110")
	@TableField(value="delivery_status")
	private Integer delivery_status;
	@ApiModelProperty(value = "运单号")
	@TableField(value="express_no")
	private String express_no;
	@ApiModelProperty(value = "收货人姓名")
	@TableField(value="consigne")
	private String consigne;
	@ApiModelProperty(value = "收货人电话")
	@TableField(value="tel")
	private String tel;
	@ApiModelProperty(value = "省")
	@TableField(value="province")
	private Integer province;
	@ApiModelProperty(value = "市")
	@TableField(value="city")
	private Integer city;
	@ApiModelProperty(value = "区")
	@TableField(value="district")
	private Integer district;
	@ApiModelProperty(value = "详细地址")
	@TableField(value="address")
	private String address;
	@ApiModelProperty(value = "完整地址$拼接")
	@TableField(value="full_address")
	private String full_address;
	@ApiModelProperty(value = "收货经度")
	@TableField(value="lng")
	private String lng;
	@ApiModelProperty(value = "收货维度")
	@TableField(value="lat")
	private String lat;
	@ApiModelProperty(value = "订单金额")
	@TableField(value="original_amount")
	private BigDecimal original_amount;
	@ApiModelProperty(value = "包装费")
	@TableField(value="package_amount")
	private BigDecimal package_amount;
	@ApiModelProperty(value = "配送费")
	@TableField(value="delivery_amount")
	private BigDecimal delivery_amount;
	@ApiModelProperty(value = "红包金额")
	@TableField(value="coupon_amount")
	private BigDecimal coupon_amount;
	@ApiModelProperty(value = "优惠券id")
	@TableField(value="coupon_id")
	private Integer coupon_id;
	@ApiModelProperty(value = "满减金额")
	@TableField(value="off_amount")
	private BigDecimal off_amount;
	@ApiModelProperty(value = "实付金额")
	@TableField(value="amount")
	private BigDecimal amount;
	@ApiModelProperty(value = "三方支付订单号")
	@TableField(value="pay_no")
	private String pay_no;
	@ApiModelProperty(value = "支付方式:余额=1 积分=2")
	@TableField(value="pay_gateway")
	private Integer pay_gateway;
	@ApiModelProperty(value = "订单备注")
	@TableField(value="note")
	private String note;
	@ApiModelProperty(value = "餐具")
	@TableField(value="tableware")
	private Integer tableware;
	@ApiModelProperty(value = "配送方式:到店自取=1 商家配送=2 饿了么=3 美团=4 哒哒=5")
	@TableField(value="delivery_gateway")
	private Integer delivery_gateway;
	@ApiModelProperty(value = "三方配送凭证")
	@TableField(value="delivery_no")
	private String delivery_no;
	@ApiModelProperty(value = "骑手姓名")
	@TableField(value="delivery_name")
	private String delivery_name;
	@ApiModelProperty(value = "骑手手机号")
	@TableField(value="delivery_mobile")
	private String delivery_mobile;
	@ApiModelProperty(value = "创建时间")
	@TableField(value="time_create")
	private Timestamp time_create;
	@ApiModelProperty(value = "支付时间")
	@TableField(value="time_pay")
	private Timestamp time_pay;
	@ApiModelProperty(value = "用户要求送达时间")
	@TableField(value="time_user_plan_receiving")
	private Timestamp time_user_plan_receiving;
	@ApiModelProperty(value = "商家接单时间")
	@TableField(value="time_shop_receiving")
	private Timestamp time_shop_receiving;
	@ApiModelProperty(value = "骑手接单时间")
	@TableField(value="time_rider_receiving")
	private Timestamp time_rider_receiving;
	@ApiModelProperty(value = "商家出餐时间")
	@TableField(value="time_shop_package")
	private Timestamp time_shop_package;
	@ApiModelProperty(value = "骑手到店时间")
	@TableField(value="time_rider_arrive")
	private Timestamp time_rider_arrive;
	@ApiModelProperty(value = "骑手取餐时间")
	@TableField(value="time_rider_package")
	private Timestamp time_rider_package;
	@ApiModelProperty(value = "商家确认时间")
	@TableField(value="time_shop_finish")
	private Timestamp time_shop_finish;
	@ApiModelProperty(value = "骑手配送完成时间")
	@TableField(value="time_rider_finish")
	private Timestamp time_rider_finish;
	@ApiModelProperty(value = "用户评价时间")
	@TableField(value="time_user_finish")
	private Timestamp time_user_finish;
	@ApiModelProperty(value = "用户取消时间")
	@TableField(value="time_user_cancel")
	private Timestamp time_user_cancel;
	@ApiModelProperty(value = "商家售后时间")
	@TableField(value="time_shop_audit")
	private Timestamp time_shop_audit;
	@ApiModelProperty(value = "用户申述时间")
	@TableField(value="time_user_reput")
	private Timestamp time_user_reput;
	@ApiModelProperty(value = "平台处理时间")
	@TableField(value="time_platform_finish")
	private Timestamp time_platform_finish;
	@ApiModelProperty(value = "退款金额")
	@TableField(value="refund_amount")
	private BigDecimal refund_amount;
	@ApiModelProperty(value = "申述描述")
	@TableField(value="note_user")
	private String note_user;
	@ApiModelProperty(value = "用户申诉凭证")
	@TableField(value="certificate_user")
	private String certificate_user;
	@ApiModelProperty(value = "申述描述")
	@TableField(value="note_shop")
	private String note_shop;
	@ApiModelProperty(value = "商家申诉凭证")
	@TableField(value="cetificate_shop")
	private String cetificate_shop;
	@ApiModelProperty(value = "申述描述")
	@TableField(value="note_rider")
	private String note_rider;
	@ApiModelProperty(value = "骑手申诉凭证")
	@TableField(value="cetificate_rider")
	private String cetificate_rider;
	@ApiModelProperty(value = "退款订单号")
	@TableField(value="refund_no")
	private String refund_no;
	@ApiModelProperty(value = "结转状态:未结转=1 有结转=2")
	@TableField(value="settlement_status")
	private Integer settlement_status;
	@ApiModelProperty(value = "结转时间")
	@TableField(value="settlement_time")
	private Timestamp settlement_time;
	@ApiModelProperty(value = "乐观锁标识")
	@TableField(value="version_id")
	@Version
	private Integer version_id;

 
	public Integer getOrder_id() {
		return order_id;
	}
	public void setOrder_id(Integer order_id) {
		this.order_id = order_id;
	}
 
	public Integer getOc_id() {
		return oc_id;
	}
	public void setOc_id(Integer oc_id) {
		this.oc_id = oc_id;
	}
 
	public Integer getShop_id() {
		return shop_id;
	}
	public void setShop_id(Integer shop_id) {
		this.shop_id = shop_id;
	}
 
	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
 
	public Integer getGoods_num() {
		return goods_num;
	}
	public void setGoods_num(Integer goods_num) {
		this.goods_num = goods_num;
	}
 
	public String getOrder_no() {
		return order_no;
	}
	public void setOrder_no(String order_no) {
		this.order_no = order_no;
	}
 
	public Integer getNo_order() {
		return no_order;
	}
	public void setNo_order(Integer no_order) {
		this.no_order = no_order;
	}
 
	public Integer getOrder_pickno() {
		return order_pickno;
	}
	public void setOrder_pickno(Integer order_pickno) {
		this.order_pickno = order_pickno;
	}
 
	public Integer getOrder_status() {
		return order_status;
	}
	public void setOrder_status(Integer order_status) {
		this.order_status = order_status;
	}
 
	public Integer getDelivery_status() {
		return delivery_status;
	}
	public void setDelivery_status(Integer delivery_status) {
		this.delivery_status = delivery_status;
	}
 
	public String getExpress_no() {
		return express_no;
	}
	public void setExpress_no(String express_no) {
		this.express_no = express_no;
	}
 
	public String getConsigne() {
		return consigne;
	}
	public void setConsigne(String consigne) {
		this.consigne = consigne;
	}
 
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
 
	public Integer getProvince() {
		return province;
	}
	public void setProvince(Integer province) {
		this.province = province;
	}
 
	public Integer getCity() {
		return city;
	}
	public void setCity(Integer city) {
		this.city = city;
	}
 
	public Integer getDistrict() {
		return district;
	}
	public void setDistrict(Integer district) {
		this.district = district;
	}
 
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
 
	public String getFull_address() {
		return full_address;
	}
	public void setFull_address(String full_address) {
		this.full_address = full_address;
	}
 
	public String getLng() {
		return lng;
	}
	public void setLng(String lng) {
		this.lng = lng;
	}
 
	public String getLat() {
		return lat;
	}
	public void setLat(String lat) {
		this.lat = lat;
	}
 
	public BigDecimal getOriginal_amount() {
		return original_amount;
	}
	public void setOriginal_amount(BigDecimal original_amount) {
		this.original_amount = original_amount;
	}
 
	public BigDecimal getPackage_amount() {
		return package_amount;
	}
	public void setPackage_amount(BigDecimal package_amount) {
		this.package_amount = package_amount;
	}
 
	public BigDecimal getDelivery_amount() {
		return delivery_amount;
	}
	public void setDelivery_amount(BigDecimal delivery_amount) {
		this.delivery_amount = delivery_amount;
	}
 
	public BigDecimal getCoupon_amount() {
		return coupon_amount;
	}
	public void setCoupon_amount(BigDecimal coupon_amount) {
		this.coupon_amount = coupon_amount;
	}
 
	public Integer getCoupon_id() {
		return coupon_id;
	}
	public void setCoupon_id(Integer coupon_id) {
		this.coupon_id = coupon_id;
	}
 
	public BigDecimal getOff_amount() {
		return off_amount;
	}
	public void setOff_amount(BigDecimal off_amount) {
		this.off_amount = off_amount;
	}
 
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
 
	public String getPay_no() {
		return pay_no;
	}
	public void setPay_no(String pay_no) {
		this.pay_no = pay_no;
	}
 
	public Integer getPay_gateway() {
		return pay_gateway;
	}
	public void setPay_gateway(Integer pay_gateway) {
		this.pay_gateway = pay_gateway;
	}
 
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
 
	public Integer getTableware() {
		return tableware;
	}
	public void setTableware(Integer tableware) {
		this.tableware = tableware;
	}
 
	public Integer getDelivery_gateway() {
		return delivery_gateway;
	}
	public void setDelivery_gateway(Integer delivery_gateway) {
		this.delivery_gateway = delivery_gateway;
	}
 
	public String getDelivery_no() {
		return delivery_no;
	}
	public void setDelivery_no(String delivery_no) {
		this.delivery_no = delivery_no;
	}
 
	public String getDelivery_name() {
		return delivery_name;
	}
	public void setDelivery_name(String delivery_name) {
		this.delivery_name = delivery_name;
	}
 
	public String getDelivery_mobile() {
		return delivery_mobile;
	}
	public void setDelivery_mobile(String delivery_mobile) {
		this.delivery_mobile = delivery_mobile;
	}
 
	public Timestamp getTime_create() {
		return time_create;
	}
	public void setTime_create(Timestamp time_create) {
		this.time_create = time_create;
	}
 
	public Timestamp getTime_pay() {
		return time_pay;
	}
	public void setTime_pay(Timestamp time_pay) {
		this.time_pay = time_pay;
	}
 
	public Timestamp getTime_user_plan_receiving() {
		return time_user_plan_receiving;
	}
	public void setTime_user_plan_receiving(Timestamp time_user_plan_receiving) {
		this.time_user_plan_receiving = time_user_plan_receiving;
	}
 
	public Timestamp getTime_shop_receiving() {
		return time_shop_receiving;
	}
	public void setTime_shop_receiving(Timestamp time_shop_receiving) {
		this.time_shop_receiving = time_shop_receiving;
	}
 
	public Timestamp getTime_rider_receiving() {
		return time_rider_receiving;
	}
	public void setTime_rider_receiving(Timestamp time_rider_receiving) {
		this.time_rider_receiving = time_rider_receiving;
	}
 
	public Timestamp getTime_shop_package() {
		return time_shop_package;
	}
	public void setTime_shop_package(Timestamp time_shop_package) {
		this.time_shop_package = time_shop_package;
	}
 
	public Timestamp getTime_rider_arrive() {
		return time_rider_arrive;
	}
	public void setTime_rider_arrive(Timestamp time_rider_arrive) {
		this.time_rider_arrive = time_rider_arrive;
	}
 
	public Timestamp getTime_rider_package() {
		return time_rider_package;
	}
	public void setTime_rider_package(Timestamp time_rider_package) {
		this.time_rider_package = time_rider_package;
	}
 
	public Timestamp getTime_shop_finish() {
		return time_shop_finish;
	}
	public void setTime_shop_finish(Timestamp time_shop_finish) {
		this.time_shop_finish = time_shop_finish;
	}
 
	public Timestamp getTime_rider_finish() {
		return time_rider_finish;
	}
	public void setTime_rider_finish(Timestamp time_rider_finish) {
		this.time_rider_finish = time_rider_finish;
	}
 
	public Timestamp getTime_user_finish() {
		return time_user_finish;
	}
	public void setTime_user_finish(Timestamp time_user_finish) {
		this.time_user_finish = time_user_finish;
	}
 
	public Timestamp getTime_user_cancel() {
		return time_user_cancel;
	}
	public void setTime_user_cancel(Timestamp time_user_cancel) {
		this.time_user_cancel = time_user_cancel;
	}
 
	public Timestamp getTime_shop_audit() {
		return time_shop_audit;
	}
	public void setTime_shop_audit(Timestamp time_shop_audit) {
		this.time_shop_audit = time_shop_audit;
	}
 
	public Timestamp getTime_user_reput() {
		return time_user_reput;
	}
	public void setTime_user_reput(Timestamp time_user_reput) {
		this.time_user_reput = time_user_reput;
	}
 
	public Timestamp getTime_platform_finish() {
		return time_platform_finish;
	}
	public void setTime_platform_finish(Timestamp time_platform_finish) {
		this.time_platform_finish = time_platform_finish;
	}
 
	public BigDecimal getRefund_amount() {
		return refund_amount;
	}
	public void setRefund_amount(BigDecimal refund_amount) {
		this.refund_amount = refund_amount;
	}
 
	public String getNote_user() {
		return note_user;
	}
	public void setNote_user(String note_user) {
		this.note_user = note_user;
	}
 
	public String getCertificate_user() {
		return certificate_user;
	}
	public void setCertificate_user(String certificate_user) {
		this.certificate_user = certificate_user;
	}
 
	public String getNote_shop() {
		return note_shop;
	}
	public void setNote_shop(String note_shop) {
		this.note_shop = note_shop;
	}
 
	public String getCetificate_shop() {
		return cetificate_shop;
	}
	public void setCetificate_shop(String cetificate_shop) {
		this.cetificate_shop = cetificate_shop;
	}
 
	public String getNote_rider() {
		return note_rider;
	}
	public void setNote_rider(String note_rider) {
		this.note_rider = note_rider;
	}
 
	public String getCetificate_rider() {
		return cetificate_rider;
	}
	public void setCetificate_rider(String cetificate_rider) {
		this.cetificate_rider = cetificate_rider;
	}
 
	public String getRefund_no() {
		return refund_no;
	}
	public void setRefund_no(String refund_no) {
		this.refund_no = refund_no;
	}
 
	public Integer getSettlement_status() {
		return settlement_status;
	}
	public void setSettlement_status(Integer settlement_status) {
		this.settlement_status = settlement_status;
	}
 
	public Timestamp getSettlement_time() {
		return settlement_time;
	}
	public void setSettlement_time(Timestamp settlement_time) {
		this.settlement_time = settlement_time;
	}
 
	public Integer getVersion_id() {
		return version_id;
	}
	public void setVersion_id(Integer version_id) {
		this.version_id = version_id;
	}

}